package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.OrderList;

import java.util.HashMap;

public interface OrderListDao {

    /**
     * 查询所有的预约列表
     * @return
     */
    Page<OrderList> findAll(String condition);

    void saveOrderListBasic(OrderList orderList);

    void saveOrderListMiddle(HashMap<String, Integer> map);

    void deleteMiddle(int id);

    void deleteBasic(int id);
}
